package com.hmall.user;

import com.hmall.common.config.EnableAllConfig;
import com.hmall.common.config.GlobalExceptionHandler;
import com.hmall.common.config.MyMetaObjectHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Import;

/*********************************************************
 ** 用户微服务启动类
 ** <br><br>
 ** @ClassName: UserApplication
 ** @author: yangfeng
 ** @date: 2024/12/16 16:39
 ** @version: 1.0.0
 *********************************************************/
@MapperScan("com.hmall.user.mapper")
@SpringBootApplication
@Import({GlobalExceptionHandler.class})
@EnableCaching
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
